require(["coAjax"], function(coAjax) {
    App.set("$Event.purchase.open_select_material", function() {
        console.log("hehe");
        App.get("$Cache.purchase.open_select_material") ? (
            App.set("$Cache.purchase.open_select_material", false), App.set("$Cache.purchase.is_add_material", false)
        ) : (
            App.set("$Cache.purchase.open_select_material", true)
        );
    });
    // 增加原材料
    App.set("$Event.purchase.open_add_material", function() {

    });
});
